class CreateLogs < ActiveRecord::Migration
  def self.up
    create_table :logs do |t|
      t.text                  :content
      t.string                :log_type
      t.integer               :current_issue_user_id
      t.integer               :ex_issue_user_id
      t.references            :issue
      t.references            :user
      
      t.timestamps
    end
  end

  def self.down
    drop_table :logs
  end
end
